package com.fuego.creditsystemuser.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import org.example.dto.LoginFormDTO;
import org.example.dto.Result;
import org.example.entity.User;

public interface IUserService extends IService<User> {

    Result sendCode(String phone);

    Result login(LoginFormDTO loginForm);

    Result sign();

    Result signCount();

    Result update(User user);

    Long getIdByToken(HttpServletRequest request);
}
